Skip to content

docs: fix broken intra-doc links in sdk-reference#168

Merged
yaythomas merged 1 commit intomainfrom
docs/fix-broken-links
May 7, 2026
Merged

docs: fix broken intra-doc links in sdk-reference#168
yaythomas merged 1 commit intomainfrom
docs/fix-broken-links

Conversation

@yaythomas
Copy link
Copy Markdown
Contributor

Fixes #167.

zensical build --clean surfaced 19 validation warnings from stale intra-doc links in docs/sdk-reference/. This PR fixes all 19 and drops the build from 19 issues found to No issues found.

Root causes

  • Singular vs plural filename. Links pointed at steps.md, callbacks.md, child-contexts.md, but the actual files are step.md, callback.md, child-context.md.
  • Stale paths from an earlier reorganization.
    • ../advanced/error-handling.md../error-handling/errors.md
    • ../../testing/basic-tests.md../../testing/index.md
    • ../getting-started.md../../getting-started/index.md
    • error-handling.md (bare peer) → ../error-handling/errors.md
  • Anchor slug drift. retries.md linked to #retrying-specific-errors, but the heading is ## Retry only specific errors, which Zensical slugifies to retry-only-specific-errors.

Changes by file

File Fix
sdk-reference/error-handling/retries.md anchor slug fix
sdk-reference/observability/logging.md child-contexts → child-context; error-handling.md → ../error-handling/errors.md
sdk-reference/operations/child-context.md steps.md → step.md
sdk-reference/operations/map.md steps.md → step.md; advanced/error-handling.md → error-handling/errors.md
sdk-reference/operations/parallel.md steps.md → step.md; advanced/error-handling.md → error-handling/errors.md
sdk-reference/operations/step.md # Steps# Step (align h1 with filename and the other singular operations); basic-tests.md → testing/index.md
sdk-reference/operations/wait-for-condition.md steps.md → step.md (×2); callbacks.md → callback.md (×2); ../getting-started.md → ../../getting-started/index.md
sdk-reference/operations/wait.md steps.md → step.md (×2); callbacks.md → callback.md (×2); ../getting-started.md → ../../getting-started/index.md

Verification

$ zensical build --clean 2>&1 | tail -2
No issues found
Build finished in 2.34s

Fixes #167

zensical build --clean surfaced 19 validation warnings from stale
links in docs/sdk-reference/. Root causes:

- Singular vs plural filename: links pointed at steps.md,
  callbacks.md, child-contexts.md, but the actual files are
  step.md, callback.md, child-context.md.
- Stale paths from an earlier reorganization:
    ../advanced/error-handling.md -> ../error-handling/errors.md
    ../../testing/basic-tests.md -> ../../testing/index.md
    ../getting-started.md         -> ../../getting-started/index.md
    error-handling.md (bare)      -> ../error-handling/errors.md
- Anchor slug drift: retries.md linked to
  #retrying-specific-errors, but the heading is "Retry only specific
  errors", which slugifies to retry-only-specific-errors.

Also align step.md's top-level heading with the filename and with
the other singular operations (# Steps -> # Step).

Verified with zensical build --clean:
  before: 19 issues found
  after:  No issues found
@yaythomas yaythomas moved this from Backlog to In review in aws-durable-execution May 7, 2026
@yaythomas yaythomas merged commit f55cf6d into main May 7, 2026
4 checks passed
@github-project-automation github-project-automation Bot moved this from In review to Done in aws-durable-execution May 7, 2026
@yaythomas yaythomas deleted the docs/fix-broken-links branch May 8, 2026 00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[docs]: broken links

2 participants